Wiring Obd BMW 540i 1998 E39 Workshop Manual

Page 3 of 1002

Downloaded from www.Manualslib.com manuals search engine
YOU are now in Volume I
I
Foreword ................... .. ........................................................................\
.......... v
Index
........................ .. ................................................................ rear of manual
General, 001 General Warnings and Cautions 002 Vehicle Identification and VIN Decoder
Maintenance OiO 020 Maintenance
Engine
100 Engine-General 110 Engine Removal and Installation
113 Cylinder Head Removal and
Installation
116 Cyiinder Head and Valvetrain 117 Camshaft Timing Chain
119 Lubrication System
200 Transmission-General
2 Transmission 210 clutch 230 ManualTransmission
I20 Ignition System
121 Battery, Starter, Alternator
130 Fuel Injection
160 Fuel Tank and Fuel Pump 170 Radiator and Cooling System
180 Exhaust System
240 Automatic Transmission
250 Gearshift Linkage 260 Driveshaft
Suspension, 300 Suspension, Steering and 330 Rear Suspension
Brakes-General 331 Final Drive
Steering and No Front Suspension 340 Brakes
320 Steering and Wheel Alignment
400 Body-General
410 Fenders, Engine Hood 411 Doors
412 Trunk Lid, Tailgate
510 Exterior Trim, Bumpers 512 Door Windows
Equipment 513 Interior Trim
7
Equipment and 720 seat Belts
Accessories 721 Airbag System (SRS)
OBD On-Board Diagnostics
. ............ ..
515 Central Lociting and
Anti-Theft
520 Seats 540 Sunroof
.................................................................... Foreword .............................. .. v
Index ................... .. ................................................................ rear of manual
Electrical
6 system
600 Electrical System-General 620 Instruments
610 Electrical Comoonent Locations 630 Liohts
611 wipers and washers 612 Switches eati in^ and Air Conditioning
Radio
. ........... ........ .........................
Electrical Wiring Diagrams

Page 12 of 1002

Downloaded from www.Manualslib.com manuals search engine
01 0-2
General
This section is intended to help the do-it-yourselfer get start-
ed. Tips on workshop practices, basic tools, and a quick refer-
ence guide to emergencies can be found here.
WARNING-
Do not use this manual unless you are familiar with basic
automotive repair procedures and safe workshop
practices.
0 This manual illustrates the worl<shop procedures re-
quired for most service work; it is not a substitute for full
and up-to-date information from the vehicle manufac-
turer or for proper training as an automotive technician.
Note that it is not possible to anticipate all of the ways
or conditions under which vehicles may be serviced or
to provide cautions as to all of the possible hazards that
may result.
MOW TO USE THIS MANUAL
WARNING -
Your common sense and goodjudgement are crucial to safe
and successful service
work. Read procedures through be-
fore starting them. Think about whether the condition of your
cac your level of mechanical skill, or pour level of reading
comprehension might result in or contribute in some way to
an occurrence that might cause you injury, damage your car;
or result in an unsafe repair. If you have doubts for these or
other reasons about your ability to perform safe repair work
on your car; have the work done at an authorized
BMW deal-
er or other qualified shop.
The manual is divided into ten sections:
0 GENERAL, MAINTENANCE
0 I ENGINE
2 TRANSMISSION
3 SUSPENSION, STEERING AND BRAKES
4 BODY
5 BODY EQUIPMENT
6 ELECTRICAL SYSTEM
7 EQUIPMENT AND ACCESSORIES
- ELE ELECTRICAL WIRING DIAGRAMS
OBD ON-BOARD DIAGNOSTICS

Page 13 of 1002

Downloaded from www.Manualslib.com manuals search engine
General
0 GENERAL, MAINTENANCE covers general vehicle infor-
mation
(010 General) as well as the recommended mainte-
nance schedules and service procedures to perform BMW
scheduled maintenance
work (020 Maintenance).
The next seven sections
(1 through 7) are repair based and
organized by three digit repair groups. Most major sections
begin with a GENERAL repair group,
e.g. 100 Engine-Gen-
eral. These "00 (double zero) groups contain descriptive the-
ory of operation and system troubleshooting information. The
remainder of the repair groups within a section contain the
service and repair information. The last two sections contain
detailed electrical wiring schematics and OBD
II scan tool and
diagnostic information.
Warnings, cautions and notes
Throughout this manual are many passages with the head-
ings WARNING, CAUTION, or NOTE. These very important
headings have different meanings.
WARNING-
The text under this heading warns of unsafe practices that
are very
likely to cause injury, either by direct threat to the per-
son(~) performing the work
orby increasedrisl( of accident or
mechanical failure while
drivinq.
CAUTION-
A CAUTION calls attention to importantprecautions to be ob-
senfed during the repair work that will help prevent acciden-
tally damaging the car or its parts.
NOTE-
A NOTE contains helpful information, tips that will help in do-
ing a betterjob and completing it more easily.
Please read every WARNING, CAUTION, AND NOTE in
001
General Warnings and Cautions and as they appear in re-
pair procedures. They are very important. Read them before
you begin any maintenance or repair job.

Page 350 of 1002

Downloaded from www.Manualslib.com manuals search engine
Ignition System
This repair group covers component troubleshooting and re-
placement information for the ignition system.
When diagnosing engine management problems, including
on-board diagnostics (OBD
11) fault code analysis, also refer
to these repair groups:
* 130 Fuel Injection
* ELE Electrical Wiring Diagrams
OED On-Board Diagnostics
Special tools
System diagnosis and testing of the ignition system requires
special test equipment.
4 LED test light
(Tool No. Baum
1 1 15)
4 Automotive digital multimeter
4 Primary voltage test harness
(Tool No. BMW 12
7 020)
-
4 Secondary voltage test harness
(Tool No. BMW 12
7 030)

Page 360 of 1002

Downloaded from www.Manualslib.com manuals search engine
120-1 2
ignition System
Crankshaftspeedsensor
Crankshaft speed sensor, replacing (M52, M52 TU and
M54 engines)
4 Crankshaft speed sensor for 6-cylinder engine is mounted in
the left rear side of the cylinder block below the starter (ar-
row). The sensor reads a toothed pulse wheel mounted to
the end of the crankshaft.
- if the Engine Control Module (ECM) does not receive a signal
from the crankshaft speed sensor during cranking, the en-
gine will not start.
- If the OBD II svstem misfire detection ~rotocol detects a cat- - - ~~
alysr oarnagin; faLlt oJe to a ma I-nclion in crandshafi speeo
sensor components. Ine Check Engine
lignr (Malfuncrion In-
dicator Light or MIL) will be illuminated.
NOTE-
If the crankshaft speed sensor pulse wheel is damaged, the
engine will have to be disassembled down to the crankshaft
to
reolace the wheel.
- Make certain ignition has been turned off.
- Raise car and support in a safe manner.
WARNING -
Make sure the car is stable and well supported at all times.
Use a professional automotive lift orjacltstands designed for
the ouroose.
A floor iaclc is not adequate support.
- Remove under engine splash guard
4 Working underneath starter:
Cut off wire tie securing crankshaft speed sensor harness
connector (arrow) to sensor.
* Disconnect harness connector.
4 Remove sensor mounting fastener (arrow) and remove sen-
sor from cylinder block.
- Installation is reverse of removal, noting the following:
Use a new O-ring when installing sensor.
Be sure wiring is routed in same orientation.
Secure sensor using new wire ties.
Use scan tool to read out and clear ECM fault memory.

Page 396 of 1002

Downloaded from www.Manualslib.com manuals search engine
130-6
Fuel Injection
Fuel supply to the injection system is provided by a high pres-
sure electric pump mounted inside the fuel tank. The pump is
powered via the fuel pump relay. If the relay is faulty, the fuel
pump will not run and the engine will not start.
NOTE-
* Fuel delivery volume and fuel pressure are critical to prop-
er operation. Fuel pressure direcfly influences fuel deliv-
ery
Fuel pump relay, fuel pressure and fuel volume tests are
given in 160 Fuel Tank and Fuel Pump.
Relieving system fuel pressure
The fuel system retains fuel pressure in the system when the
engine is off. To prevent fuel from spraying on a hot engine,
system fuel pressure should be relieved beforedisconnecting
fuel lines. One method is to tightly wrap
ashop towel around a
fuel line fitting and loosen or disconnect the fitting. Cleanli-
ness is essential when working with fuel components. Thor-
oughly clean the unions before disconnecting fuel lines.
When system faults are detected, a diagnostic trouble code
(DTC) is stored in the engine control module (ECM). The MIL
also iiluminates if an emissions-related fault is detected
When faults arise, or if the malfunction indicator lamp (MIL) is
illuminated, begin troubleshooting by connecting BMW ser-
vice tester
DISplus. MoDiC, GTI or equivalent scan tool. The
capabilities of OBD
II software has the potential to save hours
of diagnostic time and to help avoid incorrect component re-
placement and possible damage to system components.
CAUTION-
- The tests in this section may set fault codes (DTCs) in the
ECM and illuminate the
MIL. Affer all testing is completed,
access and clear DJC fault memory using an
OED I1 or
BMW compatible scan tool. See OBD On-Board Diag-
nostics.
0 Only use a digital multimeter for electrical tests.
. Relay positions can vary Be sure to confirm relay posi-
tion by identifying the wiring in the socket using the wir-
ing diagrams found in ELE Electrical Wiring
Diagrams.

Page 397 of 1002

Downloaded from www.Manualslib.com manuals search engine
Fuel Injection 1
Working in right rear of engine compartment:
Release interior ventilation filter cover latch
(A) and re-
move cover.
Release plastic locking tab
(6).
Rotate duct inward (arrow) to unlock from bulk head and
remove duct.
Release spring
lock (C) to remove lower iilter housing.
Slide filter housing away from inner fender to remove.
- Remove electrical box (E-box) cover fasteners and remove
cover.
NOTE-
OBD I1 fault memory (including an illuminated MIL) can
only be reset using an electronic scan tool. Removing the
connector from the ECM or disconnecting the battery will
not erase the fault
memory.
The BMW-dedicated 20-pin diagnostic linlc connector
(DLC) is in the right rear of the engine compartment.
The 16-pin OBD
I1 diagnostic connector (arrow) is located
inside the car on the lower left dash panel.
ECM relay, testing
Fuses lor ECM In E-bbx 502130488
4 The engine control module (ECM) relay is energized via the
ECM and supplies battery positive
(B+) power to many of the
engine management components and subsystems.
If this re-
lay is faulty, the engine will not start.
Relay positions can vary. Be sure to confirm relay position by
identifying the wiring in the socket using the wiring diagrams
in
ELE Electrical Wiring Diagrams.
NOTE-
The ECM relay is also referred to as the DME main relay.

Page 399 of 1002

Downloaded from www.Manualslib.com manuals search engine
Fuel Injection I
Mass air flow (MAF) sensor,
checking and replacing
4 The hot film mass air flow (MAF) sensor (arrow) sends a
varying voltage (approx.
0.5 - 4.5 vdc) to the ECM represent-
ing the measured intake air. The air mass input signal is pro-
duced electronically by the
MAFsensorusing a heated metal
film in the air flow stream.
The ECM relay provides the operating voltage to the MAF
sensor. As air flows through the MAF sensor, the film is
-
cooled. To maintain the film at a constant temperature, addi-
tional heating current is necessary. It is this additional current
that is the basis for the input signal.
If there is no output signal from the MAF sensor, the ECM op-
erates the engine using throttle position and engine rpm in-
puts. A faulty MAF sensor illuminates the MIL.
A faulty MAF sensor can produce the following problems:
Difficult to restart when engine is hot.
Engine starts then stalls.
Engine starts and runs only with accelerator pedal de-
pressed.
Disconnect electrical harness connector from MAF sensor
(arrow).
- Turn ignition on and check for voltage and ground at connec-
tor.
There should be ground at pin
1 and battery voltage at pin
3.
If any faults are found, check for wiring breaks between
MAF sensor and ECM and between MAF sensor and ECM
relay.
NOTE-
Visually inspect the sensor for damage, missing or blocked
screens. The screens affect air flow calibration. Also inspect
the sealing O-rings where the sensor inserts into the air
filter
housing and intake boot. Ensure the pin connections are
clean and tight.
4 Connect a BMW-compatible scan tool or an OBD II generic
scan tool. Check air mass signal (load signal) with the engine
at idle. Raise idle speed and check that load signal changes
with rpm.
CA UTIOI\C
Be sure ignition is OFFbefore disconnecting or reconnecting r
1 DME svstem components. 1

Page 406 of 1002

Downloaded from www.Manualslib.com manuals search engine
I Fuel Injection
Release injector locking clips at each injector and pry injector
wiring duct up off injectors.
Clamp off fuel supply line and fuel return line at end of fuel
rail. Disconnect fuel supply fuel return lines from fuel rail.
WARNING -
Clamp off the fuel lines and then wrap a clean shop towel
around the lines before removing them. Residual
fuelpres-
sure is present in the lines.
Fuel is discharged. Do not disconnect any wires that
could cause electrical
sparks. Do not smoke or work
near heaters or other fire hazards. Keep an approved
I fire extinguisher handy. I
- Remove fuel rail mounting fasteners
- Pull up on fuel rail and remove individual injectors by remov-
ing injector retaining clip and pulling injector from rail.
- Installation is reverse of removal. Fit new O-rings when in-
stalling injectors. For ease of installation, lightly lubricate in-
jector O-ring with
SAE9O gear lube.
Tightening torque Fuel rail to
intake manifold 10 Nm (89 in-lb)
Evaporative emissions, overview
On E39 MS 41 .I cars, the evaporative emissions system is
combined with the tank ventilation system. The evaporative
system is monitored by the ECM for correct purge operation
and leak detection.
The carbon (purge) canister is purged using engine vacuum
via the
purgevalve.The purgevalve (located nextto the mass
airflow sensor) is ECM controlled and regulates the purge
flow into the intake manifold. The valve is powered open and
closed by an internal spring.
If the evaporative emission valve circuit is faulty, a fault code
is set and the MIL is illuminated when OBD
II fault criteria are
exceeded. If the valve is mechanically faulty, poor driveability
may result and a mixture adaptation fault is stored in the
ECM.
The leak diagnosis pump (LDP) is activated by the ECM and
pressurizes the fuel tank and evaporative system as apart of
theOED I1 leakdetection monitor. If the LDP orthe LDP circuit
is defective, afault code is set and the MIL is illuminated when
OBD
I1 fault criteria are exceeded. The LDP is mounted the
left rear wheel well behind the fender liner.

Page 413 of 1002

Downloaded from www.Manualslib.com manuals search engine
- -.
Fuel Injection
SIEMENS MIS 42.0 AND 43.0
When system faults are detected, a diagnostic trouble code
(DTC) is stored in the engine control module (ECM). The MIL
also illuminates
if an emissions-related fault is detected.
When faults arise, or
if the malfunction indicator lamp (MIL) is
illuminated, begin troubleshooting by connecting BMW ser-
vice tester
DISplus, MoDiC, GTI or equivalent scan tool. The
capabilities of OBD
II software has the potential to save hours
of diagnostic time and to help avoid incorrect component re-
placement and possible damage to system components.
CAUTION-
* The tests in this section may set fault codes (DTCs) in tlie
ECM and illuminate the MIL. After all testing is completed,
access and clear DTC fault
memory using an OBD I/ or
BMW compatible scan tool. See
OBD On-Board Diag-
nostics.
Only use a
dgital multimeter for electrical tests.
Relay positions can vary. Be sure to confirm
relayposi-
tion by identifying the wiring in the socket using the wir-
ing diagrams found in
ELE Electrical Wiring
Diagrams.
NOTE-
- OBD I1 fault memory. (including an illuminated MIL! can
only be reset using the special scan tool. Removing the
connector from the ECM or disconnecting the battery will
not erase the fault memory.
The BMW-dedicated 20-pin diagnostic
linlc connector
(DLC) is in the right rear of the engine compartment The
20-pin DLC is discontinued on models after
6/2000.
The 1 &pin OBD I1 diagnostic connector (arrow) is located
inside the car on the lower left dash panel.
The MS
42.0 and MS 43.0 systems manage the following
functions.
- Air:
Idle speed valve
Electronic throttle
Hot film mass air flow (MAF) sensor
Resonance-turbulence intake control
- Fuel:
* Fuel supply
Running losseslnon return
Fuel injection

Page:   1-10 11-20 next >